package org.wu.framework.log.platform.infrastructure.converter;

import org.wu.framework.log.platform.domain.model.run.log.RunLog;
import org.wu.framework.log.platform.infrastructure.entity.RunLogDO;
import org.wu.framework.core.mapper.LazyStructMappers;
import org.wu.framework.core.mapper.LazyStructMapper;
/**
 * describe 运行日志 
 *
 * @author Jia wei Wu
 * @date 2024/03/24 01:02 下午
 * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyInfrastructureConverter 
 **/
@LazyStructMapper
public interface RunLogConverter {


    /**
     * describe MapStruct 创建的代理对象
     *
     
     
     
     * @author Jia wei Wu
     * @date 2024/03/24 01:02 下午
     **/
    RunLogConverter INSTANCE =LazyStructMappers.getMapper(RunLogConverter.class);
    /**
     * describe 实体对象 转换成领域对象
     *
     * @param runLogDO 运行日志实体对象     
     * @return {@link RunLog} 运行日志领域对象     
     
     * @author Jia wei Wu
     * @date 2024/03/24 01:02 下午
     **/
    RunLog toRunLog(RunLogDO runLogDO);
    /**
     * describe 领域对象 转换成实体对象
     *
     * @param runLog 运行日志领域对象     
     * @return {@link RunLogDO} 运行日志实体对象     
     
     * @author Jia wei Wu
     * @date 2024/03/24 01:02 下午
     **/
     RunLogDO fromRunLog(RunLog runLog); 
}